package com.fh.wanandroid.ui.login.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;

import androidx.appcompat.widget.Toolbar;

import com.fh.wanandroid.R;
import com.fh.wanandroid.base.BaseActivity;
import com.fh.wanandroid.base.BasePresenter;
import com.fh.wanandroid.utils.StatusBarUtil;

import butterknife.BindView;
import butterknife.ButterKnife;

public class LoginActivity extends BaseActivity {
    @BindView(R.id.login_toolbar)
    Toolbar loginToolbar;
    @BindView(R.id.login_tv)
    TextView loginTv;
    @BindView(R.id.login_account_edit)
    EditText loginAccountEdit;
    @BindView(R.id.login_account_group)
    LinearLayout loginAccountGroup;
    @BindView(R.id.login_divider)
    View loginDivider;
    @BindView(R.id.login_password_edit)
    EditText loginPasswordEdit;
    @BindView(R.id.login_password_group)
    LinearLayout loginPasswordGroup;
    @BindView(R.id.register_divider)
    View registerDivider;
    @BindView(R.id.login_btn)
    Button loginBtn;
    @BindView(R.id.login_or_tv)
    TextView loginOrTv;
    @BindView(R.id.login_register_btn)
    Button loginRegisterBtn;
    @BindView(R.id.login_group)
    RelativeLayout loginGroup;

    @Override
    public BasePresenter getmPresenter() {
        return null;
    }

    @Override
    public void presenterSetView() {

    }

    @Override
    public void initView() {

        StatusBarUtil.immersive(this);
        StatusBarUtil.setPaddingSmart(this, loginToolbar);
        loginToolbar.setNavigationOnClickListener(v ->finish());

    }

    @Override
    public void initData() {

    }

    @Override
    public int getLayoutId() {
        return R.layout.activity_login;
    }


}
